package com.ytc.mapper;

import com.ytc.model.Good;
import com.ytc.model.Type;

import java.util.List;

public interface GoodMapper {
    int deleteByPrimaryKey(Integer goodid);

    int insert(Good record);

    int insertSelective(Good record);

    Good selectByPrimaryKey(Integer goodid);

    int updateByPrimaryKeySelective(Good record);

    int updateByPrimaryKey(Good record);

    List<Good> queryGoodList();


    void addGood(Good good);
}